package com.platform.controller.web;

import com.platform.common.annotation.Log;
import com.platform.common.core.page.TableDataInfo;
import com.platform.common.enums.BusinessType;
import com.platform.system.domain.vo.device.HumanModelManagerVo;
import com.platform.system.domain.vo.device.SpeakerInfoVo;
import com.platform.system.service.ISysSpeakerInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Huangkai
 */
@Slf4j
@RestController
@RequestMapping("/speakerInfo/web")
public class SpeakerInfoWebController {

    @Autowired
    ISysSpeakerInfoService sysSpeakerInfoService;

    /**
     * 查询发音人管理
     */
    @Log(title = "查询发音人管理", businessType = BusinessType.OTHER)
    @PostMapping("/selectSpeakerInfoList")
    public TableDataInfo selectSpeakerInfoList(@RequestBody @Validated SpeakerInfoVo speakerInfoVo) {
        return sysSpeakerInfoService.selectSpeakerInfoList(speakerInfoVo);
    }
}
